Skip to content

Return early when state is null or undefined#88

Open
mmontag wants to merge 1 commit intodeveloperdizzle:masterfrom
mmontag:patch-1
Open

Return early when state is null or undefined#88
mmontag wants to merge 1 commit intodeveloperdizzle:masterfrom
mmontag:patch-1

Conversation

@mmontag
Copy link

@mmontag mmontag commented Sep 22, 2024

The strict equality check for state === undefined in setStateIfNeeded can cause a crash if state is null.

The strict equality check for state === undefined in setStateIfNeeded can cause a crash if state is null.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant